<%@page import="com.wanmait.cookBook.vo.Admin"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%String path= request.getContextPath(); %>
<!doctype html>
<html class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <title>管理界面</title>
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link rel="stylesheet" href="./css/font.css">
        <link rel="stylesheet" href="./css/xadmin.css">
        <script src="./lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="./js/xadmin.js"></script>
        
    </head>
    <body class="index">
        <!-- 顶部开始 -->
        <div class="container">
            <div class="logo">
                <a href="javascript:;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;后台管理</a></div>
            <div class="left_open">
                <a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
            </div>
            
            
            <ul class="layui-nav right" lay-filter="">
                <li class="layui-nav-item">
                    <a href="javascript:;">选项</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="<%=request.getContextPath() %>/back/adminLogin.jsp">退出</a></dd>
                        
                    </dl>
                </li>
                <li class="layui-nav-item to-index">
                    <a href="/cookBook/IndexServlet">前台首页</a></li>
            </ul>
        </div>
        <!-- 顶部结束 -->
        <!-- 中部开始 -->
        <!-- 左侧菜单开始 -->
        <div class="left-nav">
            <div id="side-nav">
                <ul id="nav">
                  
                    <li>
                        <a href="javascript:;">
                            <i class="iconfont left-nav-li" lay-tips="用户管理">&#xe723;</i>
                            <cite>用户管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i></a>
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('用户信息','<%=path%>/UserinfoServlet?action=getAllUser')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>用户信息</cite></a>
                            </li>
                        </ul>
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('禁言管理','<%=path%>/UserStopServlet')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>禁言管理</cite></a>
                            </li>
                        </ul>
                        
                    </li>
                    
                    <li>
                        <a href="javascript:;">
                            <i class="iconfont left-nav-li" lay-tips="审核管理">&#xe723;</i>
                            <cite>审核管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i></a>
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('审核日志','<%=path%>/DiaryServlet?action=examineDiary')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>审核日志</cite></a>
                            </li>
                        </ul>
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('审核菜谱','<%=path%>/CookServlet?action=examineCook')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>审核菜谱</cite></a>
                            </li>
                        </ul>
                        <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
                        
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('审核话题','<%=path%>/TopicsServlet?action=examineTopic')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>审核话题</cite></a>
                            </li>
                        </ul>
                    </li>
                    
                    <li>
                        <a href="javascript:;">
                            <i class="iconfont left-nav-li" lay-tips="菜谱管理">&#xe723;</i>
                            <cite>菜谱管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i></a>
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('菜谱分类','<%=path%>/CookTypeServlet?action=getTotalCookType')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>菜谱分类</cite></a>
                            </li>
                        </ul>                    
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('口味分类','<%=path%>/CookBookTasteServlet?action=fenYe')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>口味菜谱</cite></a>
                            </li>
                        </ul>
                        
                    </li>
                    
                    <li>
                        <a href="javascript:;">
                            <i class="iconfont left-nav-li" lay-tips="消息管理">&#xe723;</i>
                            <cite>消息管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i></a>
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('举报','<%=path%>/ReportFenYeServlet')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>举报消息</cite></a>
                            </li>
                        </ul>
                        
                    </li>
                   
                    <li>
                        <a href="javascript:;">
                            <i class="iconfont left-nav-li" lay-tips="显示管理">&#xe723;</i>
                            <cite>显示管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i></a>
                        <ul class="sub-menu">
                        
                            <li>
                                <a onclick="xadmin.add_tab('轮播图添加','<%=path %>/IndexPictureServlet')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>轮播图添加</cite></a>
                            </li>
                        </ul>
                       
                        
                    </li>
                   
                                       
                </ul>
            </div>
        </div>
        <!-- <div class="x-slide_left"></div> -->
        <!-- 左侧菜单结束 -->
        <!-- 右侧主体开始 -->
        <div class="page-content">
            <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
                <ul class="layui-tab-title">
                    <li class="home">
                        <i class="layui-icon">&#xe68e;</i>我的桌面</li></ul>
                <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
                    <dl>
                        <dd data-type="this">关闭当前</dd>
                        <dd data-type="other">关闭其它</dd>
                        <dd data-type="all">关闭全部</dd></dl>
                </div>
                <div class="layui-tab-content">
                  <div class="layui-tab-item layui-show">
                        <iframe src="<%=request.getContextPath() %>/BackStageServlet" frameborder="0" scrolling="yes" class="x-iframe"></iframe>
                   		<%--/cookBook/BackStageServlet --%>
                    </div>
                </div>
                <div id="tab_show"></div>
            </div>
        </div>
        <div class="page-content-bg"></div>
        <style id="theme_style"></style>
        <!-- 右侧主体结束 -->
        <!-- 中部结束 -->
        <script>//百度统计可去掉
            var _hmt = _hmt || []; (function() {
                var hm = document.createElement("script");
                hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(hm, s);
            })();</script>
    </body>

</html>